package com.naiterui.ehp.bs.wechat.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.naiterui.ehp.bs.wechat.properties.WeChatProperties;

/**
 * 微信配置信息
 *
 * @author zhoupeipei
 * @date 2019-06-12 20:18
 * @since 1.0.0
 */
@Configuration
public class WeChatConfig {
    /**
     * 公众号配置属性
     * @return
     */
    @Bean
    @ConfigurationProperties(prefix = "wechat.pa")
    public WeChatProperties paProperties() {
        return new WeChatProperties();
    }


}
